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 {
...
@@ -130,7 +130,7 @@ export default {
</slot>
</slot>
</
template
>
</
template
>
<slot
name=
"default"
>
<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
<gl-loading-icon
v-if=
"isLoading"
v-if=
"isLoading"
size=
"md"
size=
"md"
...
...
ee/app/assets/javascripts/boards/components/labels_select.vue
View file @
35e615f9
...
@@ -183,6 +183,7 @@ export default {
...
@@ -183,6 +183,7 @@ export default {
category=
"tertiary"
category=
"tertiary"
size=
"small"
size=
"small"
class=
"edit-link float-right"
class=
"edit-link float-right"
data-qa-selector=
"labels_edit_button"
@
click=
"toggleEdit"
@
click=
"toggleEdit"
>
>
{{
$options
.
i18n
.
edit
}}
{{
$options
.
i18n
.
edit
}}
...
...
qa/qa/ee/page/component/issue_board/show.rb
View file @
35e615f9
...
@@ -14,12 +14,30 @@ module QA
...
@@ -14,12 +14,30 @@ module QA
view
'ee/app/assets/javascripts/boards/components/board_scope.vue'
do
view
'ee/app/assets/javascripts/boards/components/board_scope.vue'
do
element
:board_scope_modal
element
:board_scope_modal
end
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
end
end
def
board_scope_modal
def
board_scope_modal
find_element
(
:board_scope_modal
)
find_element
(
:board_scope_modal
)
end
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
end
end
end
...
...
qa/qa/page/component/issue_board/show.rb
View file @
35e615f9
...
@@ -24,14 +24,6 @@ module QA
...
@@ -24,14 +24,6 @@ module QA
element
:create_new_board_button
element
:create_new_board_button
end
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
view
'app/assets/javascripts/boards/components/board_content.vue'
do
element
:boards_list
element
:boards_list
end
end
...
@@ -85,6 +77,7 @@ module QA
...
@@ -85,6 +77,7 @@ module QA
def
click_boards_config_button
def
click_boards_config_button
click_element
(
:boards_config_button
)
click_element
(
:boards_config_button
)
wait_for_requests
end
end
def
click_boards_dropdown_button
def
click_boards_dropdown_button
...
@@ -97,16 +90,6 @@ module QA
...
@@ -97,16 +90,6 @@ module QA
click_element
(
:focus_mode_button
)
click_element
(
:focus_mode_button
)
end
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
)
def
create_new_board
(
board_name
)
click_boards_dropdown_button
click_boards_dropdown_button
click_element
(
:create_new_board_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