mirror of https://github.com/hashicorp/consul
Browse Source
* ui: Quote service names for intention filtering * ui: return null if we ever get an error with anything elsepull/7889/head
John Cowen
5 years ago
committed by
GitHub
4 changed files with 36 additions and 2 deletions
@ -0,0 +1,20 @@
|
||||
@setupApplicationTest |
||||
Feature: dc / services / intentions-error: An error with intentions doesn't 500 the page |
||||
Scenario: |
||||
Given 1 datacenter model with the value "dc1" |
||||
And 1 node model |
||||
And 1 service model from yaml |
||||
--- |
||||
- Service: |
||||
Kind: ~ |
||||
Name: service-0 |
||||
ID: service-0-with-id |
||||
--- |
||||
And the url "/v1/connect/intentions" responds with a 500 status |
||||
When I visit the service page for yaml |
||||
--- |
||||
dc: dc1 |
||||
service: service-0 |
||||
--- |
||||
And the title should be "service-0 - Consul" |
||||
And I see 1 instance model |
@ -0,0 +1,10 @@
|
||||
import steps from '../../../steps'; |
||||
|
||||
// step definitions that are shared between features should be moved to the
|
||||
// tests/acceptance/steps/steps.js file
|
||||
|
||||
export default function(assert) { |
||||
return steps(assert).then('I should find a file', function() { |
||||
assert.ok(true, this.step); |
||||
}); |
||||
} |
Loading…
Reference in new issue