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
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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
project_team_management.rb
features/steps/project/project_team_management.rb
+5
-5
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