8 Commits

Author SHA1 Message Date
claire bontempo
41d8301927
UI: Fix namespace picker selecting all namespaces with matching nodes (#31326)
* add test

* add changelog
2025-07-17 15:56:59 -07:00
claire bontempo
6981f475c6
remove sys/namespace capabilities check for refresh button (#31308) 2025-07-17 10:06:09 -07:00
claire bontempo
0fb6c5e895
UI: Include user's root namespace in the namespace picker if it is not the true root (#31300)
* add userRootNamespace to namespace picker

* add changelog
2025-07-16 22:39:21 +00:00
Shannon Roberts (Beagin)
659f1b1ada
[VAULT-37108] UI: update toggle-input test selectors (#31087)
* [VAULT-37108] UI: update toggle-input test selectors
- update namespace-picker to data-test-button

* - replace instances of data-test-toggle-input with general selector

* - replace enableDefaultTtl() and enableMaxTtl()  with general selector

* - replace toggleJson with general selector

* - replace toggleButton with general selector

* - replace toggleTtl() with general selector

* - replace hasToggleButton() with general selector

* - replace hasTTLPicker() with general selector

* - replace toggleDiff with general selector

* fix lint error :]

* fix failing test
2025-06-26 09:18:01 -06:00
Angel Garbarino
6cc4eae735
Address flaky tests: namespace and config-ui/messages (#31016)
* namespace and ui-config, running out of time ahhh

* fix some tests

* triple back to back runs on namespace and we're solid

* add cleanup test pollution on config-ui/messages and also remove the empty state check as we do that in the component test:

* Fix test error: "Promise rejected during "it should show the list of custom messages": _generalSelectors.GENERAL.listItem is not a function"

* fix more tests

---------

Co-authored-by: Shannon Roberts <shannon.roberts@hashicorp.com>
2025-06-23 09:12:52 -06:00
Shannon Roberts (Beagin)
b54aba9fd8
[VAULT-35715] UI: Namespace picker is updated after add/delete namespace (#30737)
* [VAULT-35715] UI: Namespace picker is updated after add/delete namespace

* + changelog

* pairing session updates

* fixing tests (wip)

* fix tests!

* remove meep lol

* fix one more test

* add missing test coverage

* address PR comments, enterprise tests are passing again!!

* fix lint issue
2025-06-11 10:59:16 -07:00
Angel Garbarino
a51c5ed362
Clean up button test selectors (#30694)
* clean up selectors file and then update testButton to buttonByAttr

* a lot but not really in the scheme of things

* fix component test failures

* fix acceptance test failures

* fix namespace selector

* clean up remaining tests

* another test

* last test

* small changes, but I have test failures

* a mess in custom messages, really hard to test because of test pollution.

* make data-test-submit vs data-test-save

* change other-methods to sign in with other methods

* clean up of failing test

* buttonByAttr to button

* clean up test pollution on config messages

* sweep of clean ups

* another round of small cleanups

* fix some message things, remaining oidc issue?

* use a runCmd to better delete things

* fix to amend for recent auth test changes

* remove skip
2025-06-10 16:25:34 -04:00
Shannon Roberts (Beagin)
fe9f18b7f2
[VAULT-34216] UI: Namespace picker feature branch (#30490) 2025-05-05 16:12:36 -07:00