diff options
author | Sean McGivern <sean@gitlab.com> | 2019-04-15 16:04:40 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-04-16 16:33:06 +0300 |
commit | c6456830b5f9a147807b9de32c437eb6dda4c53b (patch) | |
tree | 7bb4f9f9c41f3055e9a0bcdb8732dc7fb327b146 /app/assets/javascripts/performance_bar/components/detailed_metric.vue | |
parent | ca8c35285eedb0ae6e9a52fe377ec0b3ae9ada1a (diff) |
Add QA tests for the performance bar
These are very high-level. Currently, they test:
1. That the performance bar appears.
2. That it has detailed metrics for Postgres and Gitaly.
3. That AJAX requests are included in the request selector.
Diffstat (limited to 'app/assets/javascripts/performance_bar/components/detailed_metric.vue')
-rw-r--r-- | app/assets/javascripts/performance_bar/components/detailed_metric.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/performance_bar/components/detailed_metric.vue b/app/assets/javascripts/performance_bar/components/detailed_metric.vue index c729198c1d3..19a81713964 100644 --- a/app/assets/javascripts/performance_bar/components/detailed_metric.vue +++ b/app/assets/javascripts/performance_bar/components/detailed_metric.vue @@ -38,7 +38,11 @@ export default { }; </script> <template> - <div v-if="currentRequest.details" :id="`peek-view-${metric}`" class="view"> + <div + v-if="currentRequest.details" + :id="`peek-view-${metric}`" + class="view qa-performance-bar-detailed-metric" + > <button :data-target="`#modal-peek-${metric}-details`" class="btn-blank btn-link bold" |