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
9b8d5c4a
Commit
9b8d5c4a
authored
Feb 25, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make test element selection more specific.
parent
a30a5663
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
features/steps/project/merge_requests.rb
features/steps/project/merge_requests.rb
+3
-3
No files found.
features/steps/project/merge_requests.rb
View file @
9b8d5c4a
...
...
@@ -213,7 +213,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
end
step
'I should see a comment like "Line is wrong" in the second file'
do
within
'.files [id^=diff]:nth-child(2) .note-text'
do
within
'.files [id^=diff]:nth-child(2) .note-
body > .note-
text'
do
page
.
should
have_visible_content
"Line is wrong"
end
end
...
...
@@ -225,7 +225,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
end
step
'I should see a comment like "Line is wrong here" in the second file'
do
within
'.files [id^=diff]:nth-child(2) .note-text'
do
within
'.files [id^=diff]:nth-child(2) .note-
body > .note-
text'
do
page
.
should
have_visible_content
"Line is wrong here"
end
end
...
...
@@ -238,7 +238,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
click_button
"Add Comment"
end
within
".files [id^=diff]:nth-child(1) .note-text"
do
within
".files [id^=diff]:nth-child(1) .note-
body > .note-
text"
do
page
.
should
have_content
"Line is correct"
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