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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
b8ba0b75
Commit
b8ba0b75
authored
Apr 11, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable capybra 2.1 ingore hidden elements
parent
630c547d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
features/steps/project/project_team_management.rb
features/steps/project/project_team_management.rb
+5
-5
features/support/env.rb
features/support/env.rb
+1
-1
No files found.
features/steps/project/project_team_management.rb
View file @
b8ba0b75
...
...
@@ -24,7 +24,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps
select2
(
user
.
id
,
from:
"#user_ids"
,
multiple:
true
)
within
"#new_team_member"
do
select
"Reporter"
,
:from
=>
"project_access"
select
"Reporter"
,
from:
"project_access"
end
click_button
"Add users"
end
...
...
@@ -44,7 +44,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps
And
'I change "Sam" role to "Reporter"'
do
user
=
User
.
find_by_name
(
"Sam"
)
within
".user_
#{
user
.
id
}
"
do
select
"Reporter"
,
:from
=>
"team_member_project_access"
select
"Reporter"
,
from:
"team_member_project_access"
end
end
...
...
@@ -65,11 +65,11 @@ class ProjectTeamManagement < Spinach::FeatureSteps
end
And
'gitlab user "Mike"'
do
create
(
:user
,
:name
=>
"Mike"
)
create
(
:user
,
name:
"Mike"
)
end
And
'gitlab user "Sam"'
do
create
(
:user
,
:name
=>
"Sam"
)
create
(
:user
,
name:
"Sam"
)
end
And
'"Sam" is "Shop" developer'
do
...
...
@@ -79,7 +79,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps
end
Given
'I own project "Website"'
do
@project
=
create
(
:project
,
:name
=>
"Website"
)
@project
=
create
(
:project
,
name:
"Website"
)
@project
.
team
<<
[
@user
,
:master
]
end
...
...
features/support/env.rb
View file @
b8ba0b75
...
...
@@ -30,7 +30,7 @@ Spinach.hooks.on_tag("javascript") do
::
Capybara
.
current_driver
=
::
Capybara
.
javascript_driver
end
Capybara
.
default_wait_time
=
10
Capybara
.
ignore_hidden_elements
=
false
DatabaseCleaner
.
strategy
=
:truncation
...
...
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