Browse Source

fix: stop re-clicking dc dropdown in dc-switch test (#20127)

* fix: stop re-clicking dc dropdown in dc-switch test

* fix: keep nspaces dropdown open in manage nspaces test
pull/20120/head
Tyler Wendlandt 11 months ago committed by GitHub
parent
commit
dbcba7aec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ui/packages/consul-ui/tests/acceptance/dc/nspaces/manage.feature
  2. 2
      ui/packages/consul-ui/tests/acceptance/dc/services/dc-switch.feature

1
ui/packages/consul-ui/tests/acceptance/dc/nspaces/manage.feature

@ -43,7 +43,6 @@ Feature: dc / nspaces / manage : Managing Namespaces
And I don't see manageNspacesIsVisible on the navigation
When I click services on the navigation
Then the url should be /dc-1/services
When I click nspace on the navigation
And I click manageNspaces on the navigation
Then the url should be /dc-1/namespaces
And I don't see manageNspacesIsVisible on the navigation

2
ui/packages/consul-ui/tests/acceptance/dc/services/dc-switch.feature

@ -32,11 +32,9 @@ Feature: dc / services / dc-switch : Switching Datacenters
And I click dcs.1.name on the navigation
Then the url should be /dc-2/services
Then I see 6 service models
When I click dc on the navigation
And I click dcs.0.name on the navigation
Then the url should be /dc-1/services
Then I see 6 service models
When I click dc on the navigation
And I click dcs.1.name on the navigation
Then the url should be /dc-2/services
Then I see 6 service models

Loading…
Cancel
Save