Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
35e615f9
Commit
35e615f9
authored
Nov 02, 2021
by
Kushal Pandya
Committed by
Mayra Cabrera
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QA: Fix missing label edit button selector
parent
f2053ebd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
19 deletions
+21
-19
app/assets/javascripts/vue_shared/components/dropdown/dropdown_widget/dropdown_widget.vue
...d/components/dropdown/dropdown_widget/dropdown_widget.vue
+1
-1
ee/app/assets/javascripts/boards/components/labels_select.vue
...pp/assets/javascripts/boards/components/labels_select.vue
+1
-0
qa/qa/ee/page/component/issue_board/show.rb
qa/qa/ee/page/component/issue_board/show.rb
+18
-0
qa/qa/page/component/issue_board/show.rb
qa/qa/page/component/issue_board/show.rb
+1
-18
No files found.
app/assets/javascripts/vue_shared/components/dropdown/dropdown_widget/dropdown_widget.vue
View file @
35e615f9
...
...
@@ -130,7 +130,7 @@ export default {
</slot>
</
template
>
<slot
name=
"default"
>
<gl-dropdown-form
class=
"gl-relative gl-min-h-7"
>
<gl-dropdown-form
class=
"gl-relative gl-min-h-7"
data-qa-selector=
"labels_dropdown_content"
>
<gl-loading-icon
v-if=
"isLoading"
size=
"md"
...
...
ee/app/assets/javascripts/boards/components/labels_select.vue
View file @
35e615f9
...
...
@@ -183,6 +183,7 @@ export default {
category=
"tertiary"
size=
"small"
class=
"edit-link float-right"
data-qa-selector=
"labels_edit_button"
@
click=
"toggleEdit"
>
{{
$options
.
i18n
.
edit
}}
...
...
qa/qa/ee/page/component/issue_board/show.rb
View file @
35e615f9
...
...
@@ -14,12 +14,30 @@ module QA
view
'ee/app/assets/javascripts/boards/components/board_scope.vue'
do
element
:board_scope_modal
end
view
'ee/app/assets/javascripts/boards/components/labels_select.vue'
do
element
:labels_edit_button
end
view
'app/assets/javascripts/vue_shared/components/dropdown/dropdown_widget/dropdown_widget.vue'
do
element
:labels_dropdown_content
end
end
end
def
board_scope_modal
find_element
(
:board_scope_modal
)
end
def
configure_by_label
(
label
)
click_boards_config_button
click_element
(
:labels_edit_button
)
find_element
(
:labels_dropdown_content
).
find
(
'li'
,
text:
label
).
click
# Clicking the edit button again closes the dropdown and allows the save button to be clicked
click_element
(
:labels_edit_button
)
click_element
(
:save_changes_button
)
wait_boards_list_finish_loading
end
end
end
end
...
...
qa/qa/page/component/issue_board/show.rb
View file @
35e615f9
...
...
@@ -24,14 +24,6 @@ module QA
element
:create_new_board_button
end
view
'app/assets/javascripts/vue_shared/components/sidebar/labels_select_vue/dropdown_contents.vue'
do
element
:labels_dropdown_content
end
view
'app/assets/javascripts/vue_shared/components/sidebar/labels_select_vue/dropdown_title.vue'
do
element
:labels_edit_button
end
view
'app/assets/javascripts/boards/components/board_content.vue'
do
element
:boards_list
end
...
...
@@ -85,6 +77,7 @@ module QA
def
click_boards_config_button
click_element
(
:boards_config_button
)
wait_for_requests
end
def
click_boards_dropdown_button
...
...
@@ -97,16 +90,6 @@ module QA
click_element
(
:focus_mode_button
)
end
def
configure_by_label
(
label
)
click_boards_config_button
click_element
(
:labels_edit_button
)
find_element
(
:labels_dropdown_content
).
find
(
'li'
,
text:
label
).
click
# Clicking the edit button again closes the dropdown and allows the save button to be clicked
click_element
(
:labels_edit_button
)
click_element
(
:save_changes_button
)
wait_boards_list_finish_loading
end
def
create_new_board
(
board_name
)
click_boards_dropdown_button
click_element
(
:create_new_board_button
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment