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
f0fcec4f
Commit
f0fcec4f
authored
Feb 08, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
707c810b
d5e9eef0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
app/views/projects/blob/viewers/_loading.html.haml
app/views/projects/blob/viewers/_loading.html.haml
+1
-1
qa/qa/page/project/show.rb
qa/qa/page/project/show.rb
+10
-0
qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb
...er_ui/3_create/repository/push_http_private_token_spec.rb
+5
-1
No files found.
app/views/projects/blob/viewers/_loading.html.haml
View file @
f0fcec4f
.text-center.prepend-top-default.append-bottom-default
=
icon
(
'spinner spin 2x'
,
'aria-hidden'
=>
'true'
,
'aria-label'
=>
'Loading content…'
)
=
icon
(
'spinner spin 2x'
,
'aria-hidden'
=>
'true'
,
'aria-label'
=>
'Loading content…'
,
class:
'qa-spinner'
)
qa/qa/page/project/show.rb
View file @
f0fcec4f
...
...
@@ -53,6 +53,16 @@ module QA
element
:branches_dropdown
end
view
'app/views/projects/blob/viewers/_loading.html.haml'
do
element
:spinner
end
def
wait_for_viewers_to_load
wait
(
reload:
false
)
do
has_no_element?
(
:spinner
)
end
end
def
create_first_new_file!
within_element
(
:quick_actions
)
do
click_link_with_text
'New file'
...
...
qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb
View file @
f0fcec4f
...
...
@@ -22,7 +22,11 @@ module QA
end
push
.
project
.
visit!
Page
::
Project
::
Show
.
perform
(
&
:wait_for_push
)
Page
::
Project
::
Show
.
perform
do
|
page
|
page
.
wait_for_push
page
.
wait_for_viewers_to_load
end
expect
(
page
).
to
have_content
(
'README.md'
)
expect
(
page
).
to
have_content
(
'This is a test project'
)
...
...
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