Kenia b78ef1fee0 ui: Redesign - Node service instances tab (#8204)
* Upgrade consul-api-dobule to version 3.1.3

* Create ConsulInstaceChecks component with test

* Redesign: Service Instaces tab in for a Node

* Update Node tests to work with the ConsulServiceInstancesList

* Style fix to the copy button in the composite-row details

* Delete helper and move logic to ConsulInstanceChecks component

* Delete unused component consul-node-service-list
2020-07-01 14:28:05 +00:00

48 lines
1.1 KiB
Gherkin

@setupApplicationTest
Feature: dc / nodes / services / list: Node > Services Listing
Scenario: Given 1 node
Given 1 datacenter model with the value "dc1"
And 1 node model from yaml
---
ID: node-0
Services:
- ID: 'service-0-with-id'
Port: 65535
Service: 'service-0'
Tags: ['monitor', 'two', 'three']
Meta:
external-source: consul
- ID: 'service-1'
Port: 0
Service: 'service-1'
Tags: ['hard drive', 'monitor', 'three']
Meta:
external-source: nomad
- ID: 'service-2'
Port: 1
Service: 'service-2'
Tags: ['one', 'two', 'three']
Meta:
external-source: terraform
- ID: 'service-3'
Port: 2
Service: 'service-3'
Tags: []
Meta:
external-source: kubernetes
---
When I visit the node page for yaml
---
dc: dc1
node: node-0
---
When I click serviceInstances on the tabs
And I see serviceInstancesIsSelected on the tabs
And I see externalSource on the services like yaml
---
- consul
- nomad
- terraform
- kubernetes
---