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
25b658cf
Commit
25b658cf
authored
Oct 17, 2018
by
at.ramya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QA Selectors for Batch Comment E2E Automation
parent
5a460397
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
34 additions
and
8 deletions
+34
-8
app/assets/javascripts/diffs/components/diff_line_gutter_content.vue
...javascripts/diffs/components/diff_line_gutter_content.vue
+1
-1
app/assets/javascripts/diffs/components/parallel_diff_table_row.vue
.../javascripts/diffs/components/parallel_diff_table_row.vue
+1
-1
app/assets/javascripts/notes/components/comment_form.vue
app/assets/javascripts/notes/components/comment_form.vue
+2
-2
app/assets/javascripts/notes/components/note_form.vue
app/assets/javascripts/notes/components/note_form.vue
+1
-1
app/assets/javascripts/notes/components/noteable_discussion.vue
...sets/javascripts/notes/components/noteable_discussion.vue
+1
-1
app/views/projects/merge_requests/show.html.haml
app/views/projects/merge_requests/show.html.haml
+2
-2
qa/qa/page/merge_request/show.rb
qa/qa/page/merge_request/show.rb
+26
-0
No files found.
app/assets/javascripts/diffs/components/diff_line_gutter_content.vue
View file @
25b658cf
...
...
@@ -167,7 +167,7 @@ export default {
<button
v-if=
"shouldShowCommentButton"
type=
"button"
class=
"add-diff-note js-add-diff-note-button"
class=
"add-diff-note js-add-diff-note-button
qa-diff-comment
"
title=
"Add a comment to this line"
@
click=
"handleCommentButton"
>
...
...
app/assets/javascripts/diffs/components/parallel_diff_table_row.vue
View file @
25b658cf
...
...
@@ -143,7 +143,7 @@ export default {
:show-comment-button=
"true"
:diff-view-type=
"parallelDiffViewType"
line-position=
"right"
class=
"diff-line-num new_line"
class=
"diff-line-num new_line
qa-new-diff-line
"
/>
<td
:id=
"line.right.lineCode"
...
...
app/assets/javascripts/notes/components/comment_form.vue
View file @
25b658cf
...
...
@@ -390,7 +390,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
:disabled=
"isSubmitButtonDisabled"
name=
"button"
type=
"button"
class=
"btn comment-btn note-type-toggle js-note-new-discussion dropdown-toggle"
class=
"btn comment-btn note-type-toggle js-note-new-discussion dropdown-toggle
qa-note-dropdown
"
data-display=
"static"
data-toggle=
"dropdown"
aria-label=
"Open comment type dropdown"
>
...
...
@@ -422,7 +422,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
<li
:class=
"
{ 'droplab-item-selected': noteType === 'discussion' }">
<button
type=
"button"
class=
"btn btn-transparent"
class=
"btn btn-transparent
qa-discussion-option
"
@
click.prevent=
"setNoteType('discussion')"
>
<i
aria-hidden=
"true"
...
...
app/assets/javascripts/notes/components/note_form.vue
View file @
25b658cf
...
...
@@ -187,7 +187,7 @@ export default {
:data-supports-quick-actions=
"!isEditing"
name=
"note[note]"
class=
"note-textarea js-gfm-input js-note-text
js-autosize markdown-area js-vue-issue-note-form js-vue-textarea"
js-autosize markdown-area js-vue-issue-note-form js-vue-textarea
qa-reply-input
"
aria-label=
"Description"
placeholder=
"Write a comment or drag your files here…"
@
keydown.meta.enter=
"handleUpdate()"
...
...
app/assets/javascripts/notes/components/noteable_discussion.vue
View file @
25b658cf
...
...
@@ -369,7 +369,7 @@ Please check your network connection and try again.`;
role=
"group"
>
<button
type=
"button"
class=
"js-vue-discussion-reply btn btn-text-field mr-2"
class=
"js-vue-discussion-reply btn btn-text-field mr-2
qa-discussion-reply
"
title=
"Add a reply"
@
click=
"showReplyForm"
>
Reply...
</button>
</div>
...
...
app/views/projects/merge_requests/show.html.haml
View file @
25b658cf
...
...
@@ -33,7 +33,7 @@
.fade-left
=
icon
(
'angle-left'
)
.fade-right
=
icon
(
'angle-right'
)
%ul
.merge-request-tabs.nav-tabs.nav.nav-links.scrolling-tabs
%li
.notes-tab
%li
.notes-tab
.qa-notes-tab
=
tab_link_for
@merge_request
,
:show
,
force_link:
@commit
.
present?
do
Discussion
%span
.badge.badge-pill
=
@merge_request
.
related_notes
.
user
.
count
...
...
@@ -47,7 +47,7 @@
=
tab_link_for
@merge_request
,
:pipelines
do
Pipelines
%span
.badge.badge-pill.js-pipelines-mr-count
=
@pipelines
.
size
%li
.diffs-tab
%li
.diffs-tab
.qa-diffs-tab
=
tab_link_for
@merge_request
,
:diffs
do
Changes
%span
.badge.badge-pill
=
@merge_request
.
diff_size
...
...
qa/qa/page/merge_request/show.rb
View file @
25b658cf
...
...
@@ -23,6 +23,32 @@ module QA
element
:squash_checkbox
end
view
'app/views/projects/merge_requests/show.html.haml'
do
element
:notes_tab
element
:diffs_tab
end
view
'app/assets/javascripts/diffs/components/diff_line_gutter_content.vue'
do
element
:diff_comment
end
view
'app/assets/javascripts/notes/components/comment_form.vue'
do
element
:note_dropdown
element
:discussion_option
end
view
'app/assets/javascripts/notes/components/note_form.vue'
do
element
:reply_input
end
view
'app/assets/javascripts/notes/components/noteable_discussion.vue'
do
element
:discussion_reply
end
view
'app/assets/javascripts/diffs/components/parallel_diff_table_row.vue'
do
element
:new_diff_line
end
view
'app/views/shared/issuable/_sidebar.html.haml'
do
element
:labels_block
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