mirror of
https://github.com/status-im/consul.git
synced 2025-02-12 05:36:55 +00:00
* Create mock-api endpoints for auth-methods * Implement auth-method endpoints and model with tests * Create route and tab for auth-methods * Create auth-method list and type components with styles * Add JWT and OIDC svg logos to codebase * Add brand translations * Add SearchBar to Auth Methods * Add acceptance test for Auth Methods UI * Skip auth method repo test * Changes from review notes * Fixup auth-method modela and mock-data * Update SearhBar with rebased changes * Add filterBy source and sortBy max token ttl * Update to SortBy MethodName * Update UI acceptance tests * Update mock data DisplayNames * Skip repo test * Fix to breaking serializer test * Implement auth-method endpoints and model with tests * Add acceptance test for Auth Methods UI * Update SearhBar with rebased changes * Add filterBy source and sortBy max token ttl * Update to SortBy MethodName * Update UI acceptance tests * Update mock data DisplayNames * Fix to breaking serializer test * Update class for search * Add auth-methods link to sidebar * Fixup PR review notes * Fixup review notes * Only show OIDC filter with enterprise * Update conditionals for MaxTokenTTL & TokenLocality * Refactor
49 lines
1.3 KiB
Gherkin
49 lines
1.3 KiB
Gherkin
@setupApplicationTest
|
|
Feature: dc / acls / auth-methods / index: ACL Auth Methods List
|
|
|
|
Scenario:
|
|
Given 1 datacenter model with the value "dc-1"
|
|
And 3 authMethod models
|
|
When I visit the authMethods page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
Then the url should be /dc-1/acls/auth-methods
|
|
Then I see 3 authMethod models
|
|
And the title should be "Auth Methods - Consul"
|
|
Scenario: Searching the Auth Methods
|
|
Given 1 datacenter model with the value "dc-1"
|
|
And 3 authMethod models from yaml
|
|
---
|
|
- Name: kube
|
|
DisplayName: minikube
|
|
- Name: agent
|
|
DisplayName: ''
|
|
- Name: node
|
|
DisplayName: mininode
|
|
---
|
|
When I visit the authMethods page for yaml
|
|
---
|
|
dc: dc-1
|
|
---
|
|
Then the url should be /dc-1/acls/auth-methods
|
|
Then I see 3 authMethod models
|
|
Then I fill in with yaml
|
|
---
|
|
s: kube
|
|
---
|
|
And I see 1 authMethod model
|
|
And I see 1 authMethod model with the name "minikube"
|
|
Then I fill in with yaml
|
|
---
|
|
s: agent
|
|
---
|
|
And I see 1 authMethod model
|
|
And I see 1 authMethod model with the name "agent"
|
|
Then I fill in with yaml
|
|
---
|
|
s: ode
|
|
---
|
|
And I see 1 authMethod model
|
|
And I see 1 authMethod model with the name "mininode"
|