BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
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