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
84e23964
Commit
84e23964
authored
Sep 09, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
De-quarantine qa test
By wating for graph to finish loading
parent
ff244660
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
ee/app/assets/javascripts/issues_analytics/components/issues_analytics.vue
...ascripts/issues_analytics/components/issues_analytics.vue
+1
-1
qa/qa/ee/page/group/issues_analytics.rb
qa/qa/ee/page/group/issues_analytics.rb
+15
-1
qa/qa/specs/features/ee/browser_ui/2_plan/issues_analytics/issues_analytics_spec.rb
...owser_ui/2_plan/issues_analytics/issues_analytics_spec.rb
+1
-2
No files found.
ee/app/assets/javascripts/issues_analytics/components/issues_analytics.vue
View file @
84e23964
...
...
@@ -134,7 +134,7 @@ export default {
};
</
script
>
<
template
>
<div
class=
"issues-analytics-wrapper"
>
<div
class=
"issues-analytics-wrapper"
data-qa-selector=
"issues_analytics_wrapper"
>
<div
v-if=
"loading"
class=
"issues-analytics-loading text-center"
>
<gl-loading-icon
:inline=
"true"
:size=
"4"
/>
</div>
...
...
qa/qa/ee/page/group/issues_analytics.rb
View file @
84e23964
...
...
@@ -7,10 +7,24 @@ module QA
class
IssuesAnalytics
<
QA
::
Page
::
Base
view
'ee/app/assets/javascripts/issues_analytics/components/issues_analytics.vue'
do
element
:issues_analytics_graph
element
:issues_analytics_wrapper
end
def
graph
find_element
(
:issues_analytics_graph
)
wait_issues_analytics_graph_finish_loading
do
find_element
(
:issues_analytics_graph
)
end
end
private
def
wait_issues_analytics_graph_finish_loading
within_element
(
:issues_analytics_wrapper
)
do
wait
(
reload:
false
,
max:
5
,
interval:
1
)
do
finished_loading?
yield
end
end
end
end
end
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issues_analytics/issues_analytics_spec.rb
View file @
84e23964
# frozen_string_literal: true
module
QA
# Failure issue: https://gitlab.com/gitlab-org/quality/nightly/issues/131
context
'Plan'
,
:quarantine
do
context
'Plan'
do
describe
'Issues analytics'
do
let
(
:issue
)
do
Resource
::
Issue
.
fabricate_via_api!
do
|
issue
|
...
...
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