mirror of
https://github.com/status-im/consul.git
synced 2025-02-06 10:54:11 +00:00
5dd9cd2d2e
* ui: Add forking based on service instance id existence Proxies come in 2 flavours, 'normal' and sidecar. We know when a proxy is a sidecar proxy based on whether a DestinationServiceID is set. LocalServiceAddress and LocalServicePort are only relevant for sidecar proxies. This adds template logic to show different text depending on this information. Additionally adds test around connect proxies (#5418) 1. Adds page object for the instance detail page 2. Adds further scenario steps used in the tests 3. Adds acceptance testing around the instance detail page. Services with proxies and the sidecar proxies and proxies themselves 4. Adds datacenter column for upstreams 5. Fixes bug routing bug for decision as to whether to request proxy information or not
30 lines
935 B
Gherkin
30 lines
935 B
Gherkin
@setupApplicationTest
|
|
Feature: dc / services / instances / sidecar-proxy: Show Sidecar Proxy Service Instance
|
|
Scenario: A Sidecar Proxy Service instance
|
|
Given 1 datacenter model with the value "dc1"
|
|
And 1 service model from yaml
|
|
---
|
|
- Service:
|
|
Kind: connect-proxy
|
|
Name: service-0-sidecar-proxy
|
|
ID: service-0-sidecar-proxy-with-id
|
|
Proxy:
|
|
DestinationServiceName: service-0
|
|
DestinationServiceID: service-0-with-id
|
|
---
|
|
When I visit the instance page for yaml
|
|
---
|
|
dc: dc1
|
|
service: service-0-sidecar-proxy
|
|
id: service-0-sidecar-proxy-with-id
|
|
---
|
|
Then the url should be /dc1/services/service-0-sidecar-proxy/service-0-sidecar-proxy-with-id
|
|
And I see destination on the proxy like "instance"
|
|
|
|
And I see serviceChecksIsSelected on the tabs
|
|
|
|
When I click upstreams on the tabs
|
|
And I see upstreamsIsSelected on the tabs
|
|
|
|
|