diff options
author | Walmyr Lima <walmyr@gitlab.com> | 2019-04-26 15:43:31 +0200 |
---|---|---|
committer | Walmyr Lima <walmyr@gitlab.com> | 2019-05-10 15:07:21 -0500 |
commit | 57e6fdd79592dd6eb1664adadd58158c712e7a7a (patch) | |
tree | 09921699b704b6c422ddf1ca784c515bd1ab6c62 | |
parent | 6763b52fbd259f75d7b330ba2deb13b4b033ccdf (diff) | |
download | gitlab-ce-57e6fdd79592dd6eb1664adadd58158c712e7a7a.tar.gz |
Update test cases mvc section on writing tests doc
Based on:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27603#note_164026665
-rw-r--r-- | qa/docs/WRITING_TESTS_FROM_SCRATCH.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/docs/WRITING_TESTS_FROM_SCRATCH.md b/qa/docs/WRITING_TESTS_FROM_SCRATCH.md index 4754b251708..3729ab94efe 100644 --- a/qa/docs/WRITING_TESTS_FROM_SCRATCH.md +++ b/qa/docs/WRITING_TESTS_FROM_SCRATCH.md @@ -101,6 +101,8 @@ end > Notice that the test itself is simple. The most challenging part is the creation of the application state, which will be covered later. +> The exemplified test cases' MVC is not enough for the change to be submitted in an MR, but they help on building up the test logic. The reason is that we do not want to use locators directly in the tests, and tests **must** use Page Objects before they can be merged. + Below are the steps that the test covers: 1. The test finds the 'Edit' link for the labels and clicks on it |