mirror of https://github.com/hashicorp/consul
John Cowen
3 years ago
committed by
GitHub
6 changed files with 40 additions and 3 deletions
@ -0,0 +1,3 @@
|
||||
```release-note:bug |
||||
ui: Ensure we show a readonly designed page for readonly intentions |
||||
``` |
@ -0,0 +1,15 @@
|
||||
@setupApplicationTest |
||||
Feature: dc / intentions / read-only |
||||
Scenario: Viewing a readonly intention |
||||
Given 1 datacenter model with the value "dc1" |
||||
And 1 intention model from yaml: |
||||
--- |
||||
Meta: |
||||
external-source: kubernetes |
||||
--- |
||||
When I visit the intention page for yaml |
||||
--- |
||||
dc: dc1 |
||||
intention: default:external-source:web:default:external-source:db |
||||
--- |
||||
Then I see the "[data-test-readonly]" element |
@ -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