diff options
author | Walmyr <walmyr@gitlab.com> | 2019-05-23 15:20:25 +0000 |
---|---|---|
committer | Walmyr <walmyr@gitlab.com> | 2019-05-23 15:20:25 +0000 |
commit | 1fc3627596c684e3f054d5324a7782a9b9ab182d (patch) | |
tree | a2fc26ce4d65680375e78e663c2c005e8b4907ce /qa | |
parent | c612e237f2bc4d0254273e4248fb3449e03ecd2c (diff) | |
download | gitlab-ce-1fc3627596c684e3f054d5324a7782a9b9ab182d.tar.gz |
Apply suggestion to qa/docs/WRITING_TESTS_FROM_SCRATCH.md
Diffstat (limited to 'qa')
-rw-r--r-- | qa/docs/WRITING_TESTS_FROM_SCRATCH.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/docs/WRITING_TESTS_FROM_SCRATCH.md b/qa/docs/WRITING_TESTS_FROM_SCRATCH.md index eca8e888906..3ff71e94c73 100644 --- a/qa/docs/WRITING_TESTS_FROM_SCRATCH.md +++ b/qa/docs/WRITING_TESTS_FROM_SCRATCH.md @@ -271,7 +271,7 @@ end In the `before :all` block we create all the application state needed for the tests to run. We do that by fabricating resources via APIs (`project`, `@issue`, and `@labels`), by using the `Runtime::Browser.visit` method to go to the login page, and by performing a `sign_in_using_credentials` from the `Login` Page Object. -> When creating the resources, notice that when calling the `fabricate_via_api` method, we pass some attribute:values, like `name` for the `project` resource; `project`, `title`, and `labels` for the the `issue` resource; and `project`, and `title` for `label` resources. +> When creating the resources, notice that when calling the `fabricate_via_api` method, we pass some attribute:values, like `name` for the `project` resource; `project`, `title`, and `labels` for the `issue` resource; and `project`, and `title` for `label` resources. > What's important to understand here is that by creating the application state mostly using the public APIs we save a lot of time in the test suite setup stage. |