Skip to content
Snippets Groups Projects
Commit e267566d authored by valeriia-ruban's avatar valeriia-ruban
Browse files

backport of commit 8e11269f

......@@ -27,7 +27,7 @@
"components.hashicorp-consul.side-nav.partitions.footer"
}}
@disabled={{not canChoose}}
data-test-datacenter-disclosure-menu
data-test-datacenter-menu
as |Selector|
>
<Selector.Data>
......
......@@ -48,3 +48,25 @@ Feature: dc / services / show / topology / metrics
service: web
---
And I see the "[data-test-sparkline]" element
Scenario: Metrics enabled but service source is Consul API Gateway
Given 1 datacenter model with the value "datacenter"
And the local datacenter is "datacenter"
And 1 service model from yaml
---
- Service:
Name: web
Kind: ~
Meta:
external-source: consul-api-gateway
---
And ui_config from yaml
---
metrics_proxy_enabled: true
metrics_provider: 'prometheus'
---
When I visit the service page for yaml
---
dc: datacenter
service: web
---
And I don't see the "[data-test-sparkline]" element
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment