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
54f898e0
Commit
54f898e0
authored
Apr 29, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
9d28cd1a
db472ab9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
...ets/javascripts/cycle_analytics/cycle_analytics_bundle.js
+2
-1
qa/qa/specs/features/browser_ui/3_create/wiki/create_edit_clone_push_wiki_spec.rb
...wser_ui/3_create/wiki/create_edit_clone_push_wiki_spec.rb
+5
-5
No files found.
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
View file @
54f898e0
...
...
@@ -12,6 +12,7 @@ import stageStagingComponent from './components/stage_staging_component.vue';
import
stageTestComponent
from
'
./components/stage_test_component.vue
'
;
import
CycleAnalyticsService
from
'
./cycle_analytics_service
'
;
import
CycleAnalyticsStore
from
'
./cycle_analytics_store
'
;
import
{
__
}
from
'
~/locale
'
;
Vue
.
use
(
Translate
);
...
...
@@ -61,7 +62,7 @@ export default () => {
methods
:
{
handleError
()
{
this
.
store
.
setErrorState
(
true
);
return
new
Flash
(
'
There was an error while fetching cycle analytics data.
'
);
return
new
Flash
(
__
(
'
There was an error while fetching cycle analytics data.
'
)
);
},
initDropdown
()
{
const
$dropdown
=
$
(
'
.js-ca-dropdown
'
);
...
...
qa/qa/specs/features/browser_ui/3_create/wiki/create_edit_clone_push_wiki_spec.rb
View file @
54f898e0
...
...
@@ -3,11 +3,6 @@
module
QA
context
'Create'
do
describe
'Wiki management'
do
def
validate_content
(
content
)
expect
(
page
).
to
have_content
(
'Wiki was successfully updated'
)
expect
(
page
).
to
have_content
(
/
#{
content
}
/
)
end
it
'user creates, edits, clones, and pushes to the wiki'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
...
...
@@ -38,6 +33,11 @@ module QA
expect
(
page
).
to
have_content
(
'My Third Wiki Content'
)
end
def
validate_content
(
content
)
expect
(
page
).
to
have_content
(
'Wiki was successfully updated'
)
expect
(
page
).
to
have_content
(
/
#{
content
}
/
)
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