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
7d81614e
Commit
7d81614e
authored
Jan 07, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
3a593ca7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
10 deletions
+29
-10
app/assets/javascripts/mr_tabs_popover/components/popover.vue
...assets/javascripts/mr_tabs_popover/components/popover.vue
+6
-1
app/assets/javascripts/vue_shared/components/notes/skeleton_note.vue
...javascripts/vue_shared/components/notes/skeleton_note.vue
+1
-1
qa/qa/page/merge_request/show.rb
qa/qa/page/merge_request/show.rb
+22
-8
No files found.
app/assets/javascripts/mr_tabs_popover/components/popover.vue
View file @
7d81614e
...
...
@@ -57,7 +57,12 @@ export default {
<icon
name=
"external-link"
:size=
"10"
/>
</gl-link>
</p>
<gl-button
variant=
"primary"
size=
"sm"
@
click=
"onDismiss"
>
<gl-button
variant=
"primary"
size=
"sm"
data-qa-selector=
"dismiss_popover_button"
@
click=
"onDismiss"
>
{{
__
(
'
Got it
'
)
}}
</gl-button>
</gl-popover>
...
...
app/assets/javascripts/vue_shared/components/notes/skeleton_note.vue
View file @
7d81614e
...
...
@@ -12,7 +12,7 @@ export default {
</
script
>
<
template
>
<timeline-entry-item
class=
"note note-wrapper"
>
<timeline-entry-item
class=
"note note-wrapper"
data-qa-selector=
"skeleton_note"
>
<div
class=
"timeline-icon"
></div>
<div
class=
"timeline-content"
>
<div
class=
"note-header"
></div>
...
...
qa/qa/page/merge_request/show.rb
View file @
7d81614e
...
...
@@ -6,6 +6,10 @@ module QA
class
Show
<
Page
::
Base
include
Page
::
Component
::
Note
view
'app/assets/javascripts/mr_tabs_popover/components/popover.vue'
do
element
:dismiss_popover_button
end
view
'app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue'
do
element
:dropdown_toggle
element
:download_email_patches
...
...
@@ -42,6 +46,10 @@ module QA
element
:squash_checkbox
end
view
'app/assets/javascripts/vue_shared/components/notes/skeleton_note.vue'
do
element
:skeleton_note
end
view
'app/views/projects/merge_requests/show.html.haml'
do
element
:notes_tab
element
:diffs_tab
...
...
@@ -69,28 +77,30 @@ module QA
has_text?
(
"No newline at end of file"
)
end
all_elements
(
:new_diff_line
).
first
.
hover
click_element
:diff_comment
fill_element
:reply_input
,
text
click_element
(
:diff_comment
)
fill_element
(
:reply_input
,
text
)
end
def
click_discussions_tab
click_element
:notes_tab
click_element
(
:notes_tab
)
finished_loading?
wait_for_loading
end
def
click_diffs_tab
click_element
:diffs_tab
click_element
(
:diffs_tab
)
finished_loading?
wait_for_loading
click_element
(
:dismiss_popover_button
)
if
has_element?
(
:dismiss_popover_button
)
end
def
click_pipeline_link
click_element
:pipeline_link
click_element
(
:pipeline_link
)
end
def
edit!
click_element
:edit_button
click_element
(
:edit_button
)
end
def
fast_forward_possible?
...
...
@@ -203,6 +213,10 @@ module QA
has_element?
(
:merge_request_error_content
)
end
end
def
wait_for_loading
finished_loading?
&&
has_no_element?
(
:skeleton_note
)
end
end
end
end
...
...
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