From 1eb7a83eec16ea5cd769c8015bee0248fb613086 Mon Sep 17 00:00:00 2001 From: Kenia <19161242+kaxcode@users.noreply.github.com> Date: Tue, 20 Jul 2021 11:09:15 -0400 Subject: [PATCH] ui: Add tests for topology metrics stats (#10600) --- .../topology-metrics/card/index.scss | 3 -- .../topology-metrics/stats/index.hbs | 2 +- .../topology-metrics/stats/index.scss | 3 +- .../dc/services/show/topology/stats.feature | 36 +++++++++++++++++++ .../dc/services/show/topology/stats-steps.js | 10 ++++++ .../consul-ui/tests/steps/doubles/model.js | 4 +++ 6 files changed, 53 insertions(+), 5 deletions(-) create mode 100644 ui/packages/consul-ui/tests/acceptance/dc/services/show/topology/stats.feature create mode 100644 ui/packages/consul-ui/tests/acceptance/steps/dc/services/show/topology/stats-steps.js diff --git a/ui/packages/consul-ui/app/components/topology-metrics/card/index.scss b/ui/packages/consul-ui/app/components/topology-metrics/card/index.scss index 06eaf9ff3a..be0df77f7f 100644 --- a/ui/packages/consul-ui/app/components/topology-metrics/card/index.scss +++ b/ui/packages/consul-ui/app/components/topology-metrics/card/index.scss @@ -75,7 +75,4 @@ .details { padding: 0 12px 12px 12px; } - div.stats { - border-top: 1px solid $gray-200; - } } diff --git a/ui/packages/consul-ui/app/components/topology-metrics/stats/index.hbs b/ui/packages/consul-ui/app/components/topology-metrics/stats/index.hbs index 306488fcc0..5d59a82806 100644 --- a/ui/packages/consul-ui/app/components/topology-metrics/stats/index.hbs +++ b/ui/packages/consul-ui/app/components/topology-metrics/stats/index.hbs @@ -15,7 +15,7 @@ /> {{/if}} -