diff options
author | Mark Lapierre <mlapierre@gitlab.com> | 2019-06-17 03:07:32 +0000 |
---|---|---|
committer | Mark Lapierre <mlapierre@gitlab.com> | 2019-06-17 03:07:32 +0000 |
commit | 657760ba527402ef7b29b7f25a6e5c2d06db29c7 (patch) | |
tree | a2a80f96f74c420cec95ef46418c73424bee7fbb | |
parent | d170a0fb7af727470a23f94e102c6536f5df4a85 (diff) | |
download | gitlab-ce-docs-qa-ml-fix-list-rendering.tar.gz |
Fix list rendering on docs sitedocs-qa-ml-fix-list-rendering
-rw-r--r-- | doc/development/testing_guide/end_to_end/quick_start_guide.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/development/testing_guide/end_to_end/quick_start_guide.md b/doc/development/testing_guide/end_to_end/quick_start_guide.md index 1802f4792e0..11375b9b489 100644 --- a/doc/development/testing_guide/end_to_end/quick_start_guide.md +++ b/doc/development/testing_guide/end_to_end/quick_start_guide.md @@ -532,6 +532,7 @@ end ##### Details of `select_labels_and_refresh` Notice that we have not only moved the `select_labels_and_refresh` method, but we have also changed its implementation to: + 1. Click the `:edit_link_labels` element previously defined, instead of using `find('.block.labels .edit-link').click` 2. Use `within_element(:dropdown_menu_labels, text: label)`, and inside of it, we call `send_keys_to_element(:dropdown_input_field, [label, :enter])`, which is a method that we will implement in the `QA::Page::Base` class to replace `find('.dropdown-menu-labels .dropdown-input-field').send_keys [label, :enter]` 3. Use `click_body` after iterating on each label, instead of using `find('#content-body').click` |