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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
1392cad8
Commit
1392cad8
authored
Aug 12, 2016
by
Connor Shea
Committed by
Alfredo Sumaran
Aug 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove sleeping and replace escaped text.
parent
5d8ad797
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
features/steps/dashboard/event_filters.rb
features/steps/dashboard/event_filters.rb
+6
-6
spec/features/profiles/preferences_spec.rb
spec/features/profiles/preferences_spec.rb
+2
-2
No files found.
features/steps/dashboard/event_filters.rb
View file @
1392cad8
...
@@ -73,20 +73,20 @@ class Spinach::Features::EventFilters < Spinach::FeatureSteps
...
@@ -73,20 +73,20 @@ class Spinach::Features::EventFilters < Spinach::FeatureSteps
end
end
When
'I click "push" event filter'
do
When
'I click "push" event filter'
do
sleep
1
wait_for_ajax
click_link
(
"Push events"
)
click_link
(
"Push events"
)
sleep
2
wait_for_ajax
end
end
When
'I click "team" event filter'
do
When
'I click "team" event filter'
do
sleep
1
wait_for_ajax
click_link
(
"Team"
)
click_link
(
"Team"
)
sleep
2
wait_for_ajax
end
end
When
'I click "merge" event filter'
do
When
'I click "merge" event filter'
do
sleep
1
wait_for_ajax
click_link
(
"Merge events"
)
click_link
(
"Merge events"
)
sleep
2
wait_for_ajax
end
end
end
end
spec/features/profiles/preferences_spec.rb
View file @
1392cad8
...
@@ -69,13 +69,13 @@ describe 'Profile > Preferences', feature: true do
...
@@ -69,13 +69,13 @@ describe 'Profile > Preferences', feature: true do
allowing_for_delay
do
allowing_for_delay
do
find
(
'#logo'
).
click
find
(
'#logo'
).
click
expect
(
page
).
to
have_content
(
'You don\'t have starred projects yet'
)
expect
(
page
).
to
have_content
(
"You don't have starred projects yet"
)
expect
(
page
.
current_path
).
to
eq
starred_dashboard_projects_path
expect
(
page
.
current_path
).
to
eq
starred_dashboard_projects_path
end
end
click_link
'Your Projects'
click_link
'Your Projects'
expect
(
page
).
not_to
have_content
(
'You don\'t have starred projects yet'
)
expect
(
page
).
not_to
have_content
(
"You don't have starred projects yet"
)
expect
(
page
.
current_path
).
to
eq
dashboard_projects_path
expect
(
page
.
current_path
).
to
eq
dashboard_projects_path
end
end
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