summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-06-17 15:16:26 +0000
committerRémy Coutable <remy@rymai.me>2019-06-17 15:16:26 +0000
commit63043b6fb67bbc69981f4a36b046d56585975501 (patch)
tree1dadba38781caa3b817aaf60f96e9ee17f9a572f
parentcfcdfdd2de6009e7ce55e6a415825a0eca75f0c9 (diff)
parent657760ba527402ef7b29b7f25a6e5c2d06db29c7 (diff)
downloadgitlab-ce-63043b6fb67bbc69981f4a36b046d56585975501.tar.gz
Merge branch 'docs-qa-ml-fix-list-rendering' into 'master'
Fix list rendering on docs site See merge request gitlab-org/gitlab-ce!29738
-rw-r--r--doc/development/testing_guide/end_to_end/quick_start_guide.md1
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 a32a5bfb8d4..d33ef0fc229 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`