diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-10-08 11:43:19 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-10-08 11:43:19 +0000 |
commit | aefe456f8a92288cf1490d217ddbf9cc1bf2ae61 (patch) | |
tree | e5f42a1518381ef4950cfae9b163130b56f2fed3 | |
parent | bcc0306493e7c60a38dd08f4919e635594a5c988 (diff) | |
parent | 8b3cdf05ef6e21a27257a7b2e83b980cdeaf0a65 (diff) | |
download | gitlab-ce-aefe456f8a92288cf1490d217ddbf9cc1bf2ae61.tar.gz |
Merge branch 'improve_qa_page_readme' into 'master'
Improve QA page README
See merge request gitlab-org/gitlab-ce!22176
-rw-r--r-- | qa/qa/page/README.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/qa/qa/page/README.md b/qa/qa/page/README.md index 2dbc59846e7..dfad460a9a5 100644 --- a/qa/qa/page/README.md +++ b/qa/qa/page/README.md @@ -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 |