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
61865cfc
Commit
61865cfc
authored
Nov 02, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add CookieHelper and InputHelper automatically to :js tests
parent
787ef979
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2 additions
and
18 deletions
+2
-18
spec/features/boards/boards_spec.rb
spec/features/boards/boards_spec.rb
+0
-1
spec/features/issues/filtered_search/visual_tokens_spec.rb
spec/features/issues/filtered_search/visual_tokens_spec.rb
+0
-2
spec/features/issues/gfm_autocomplete_spec.rb
spec/features/issues/gfm_autocomplete_spec.rb
+0
-2
spec/features/merge_requests/diff_notes_avatars_spec.rb
spec/features/merge_requests/diff_notes_avatars_spec.rb
+0
-1
spec/features/merge_requests/user_posts_diff_notes_spec.rb
spec/features/merge_requests/user_posts_diff_notes_spec.rb
+0
-1
spec/features/projects/ref_switcher_spec.rb
spec/features/projects/ref_switcher_spec.rb
+0
-2
spec/features/projects/tree/create_directory_spec.rb
spec/features/projects/tree/create_directory_spec.rb
+0
-3
spec/features/projects/tree/create_file_spec.rb
spec/features/projects/tree/create_file_spec.rb
+0
-3
spec/features/projects/tree/upload_file_spec.rb
spec/features/projects/tree/upload_file_spec.rb
+0
-3
spec/spec_helper.rb
spec/spec_helper.rb
+2
-0
No files found.
spec/features/boards/boards_spec.rb
View file @
61865cfc
require
'rails_helper'
describe
'Issue Boards'
,
:js
do
include
CookieHelper
include
DragTo
let
(
:group
)
{
create
(
:group
,
:nested
)
}
...
...
spec/features/issues/filtered_search/visual_tokens_spec.rb
View file @
61865cfc
require
'rails_helper'
describe
'Visual tokens'
,
:js
do
include
CookieHelper
include
FilteredSearchHelpers
include
WaitForRequests
let!
(
:project
)
{
create
(
:project
)
}
let!
(
:user
)
{
create
(
:user
,
name:
'administrator'
,
username:
'root'
)
}
...
...
spec/features/issues/gfm_autocomplete_spec.rb
View file @
61865cfc
require
'rails_helper'
feature
'GFM autocomplete'
,
:js
do
include
InputHelper
let
(
:user
)
{
create
(
:user
,
name:
'💃speciąl someone💃'
,
username:
'someone.special'
)
}
let
(
:project
)
{
create
(
:project
)
}
let
(
:label
)
{
create
(
:label
,
project:
project
,
title:
'special+'
)
}
...
...
spec/features/merge_requests/diff_notes_avatars_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Diff note avatars'
,
:js
do
include
CookieHelper
include
NoteInteractionHelpers
let
(
:user
)
{
create
(
:user
)
}
...
...
spec/features/merge_requests/user_posts_diff_notes_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Merge requests > User posts diff notes'
,
:js
do
include
CookieHelper
include
MergeRequestDiffHelpers
let
(
:user
)
{
create
(
:user
)
}
...
...
spec/features/projects/ref_switcher_spec.rb
View file @
61865cfc
require
'rails_helper'
feature
'Ref switcher'
,
:js
do
include
CookieHelper
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
:public
,
:repository
)
}
...
...
spec/features/projects/tree/create_directory_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Multi-file editor new directory'
,
:js
do
include
CookieHelper
include
WaitForRequests
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
...
...
spec/features/projects/tree/create_file_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Multi-file editor new file'
,
:js
do
include
CookieHelper
include
WaitForRequests
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
...
...
spec/features/projects/tree/upload_file_spec.rb
View file @
61865cfc
require
'spec_helper'
feature
'Multi-file editor upload file'
,
:js
do
include
CookieHelper
include
WaitForRequests
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:txt_file
)
{
File
.
join
(
Rails
.
root
,
'spec'
,
'fixtures'
,
'doc_sample.txt'
)
}
...
...
spec/spec_helper.rb
View file @
61865cfc
...
...
@@ -48,6 +48,8 @@ RSpec.configure do |config|
config
.
include
Warden
::
Test
::
Helpers
,
type: :request
config
.
include
LoginHelpers
,
type: :feature
config
.
include
SearchHelpers
,
type: :feature
config
.
include
CookieHelper
,
:js
config
.
include
InputHelper
,
:js
config
.
include
WaitForRequests
,
:js
config
.
include
StubConfiguration
config
.
include
EmailHelpers
,
:mailer
,
type: :mailer
...
...
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