diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-10-08 10:30:24 +1300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-10-08 10:43:31 +1300 |
commit | 8b3cdf05ef6e21a27257a7b2e83b980cdeaf0a65 (patch) | |
tree | 16dd0810d0378ff8b0ec7494fec3b00e2dc64c67 /qa | |
parent | e32a00776cb4e9a0a85f1636e842552ac6db9c57 (diff) | |
download | gitlab-ce-8b3cdf05ef6e21a27257a7b2e83b980cdeaf0a65.tar.gz |
Also explain explicitly what `element` does
We can infer from the given examples but it is implicit.
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/README.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qa/qa/page/README.md b/qa/qa/page/README.md index d5f7e8f9e9b..dfad460a9a5 100644 --- a/qa/qa/page/README.md +++ b/qa/qa/page/README.md @@ -89,8 +89,9 @@ end The `view` DSL method declares the filename of the view where an `element` is implmented. -It is possible to use `element` DSL method without value, with a String value -or with a Regexp. +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 |