summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2018-10-08 10:22:40 +1300
committerThong Kuah <tkuah@gitlab.com>2018-10-08 10:24:37 +1300
commite32a00776cb4e9a0a85f1636e842552ac6db9c57 (patch)
tree06265115cef673ac125b524c02424508392f511f /qa
parentc3389c8006443e2b4d994eb15e60bd249fc4732f (diff)
downloadgitlab-ce-e32a00776cb4e9a0a85f1636e842552ac6db9c57.tar.gz
Explain what `view` does
We have an explanation for `explain` (by way of examples) but nothing to say what view does.
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/qa/page/README.md b/qa/qa/page/README.md
index 2dbc59846e7..d5f7e8f9e9b 100644
--- a/qa/qa/page/README.md
+++ b/qa/qa/page/README.md
@@ -86,6 +86,9 @@ module Page
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.