vault/ui/app/utils/constants/wizard.ts
Vault Automation 16f98c11ce
[UI] Dismiss Wizards in Playwright Tests (#12699) (#12728)
* adds constants util for wizards and updates service to use WizardId type

* updates wizards to use WIZARD_ID_MAP values

* updates wizard tests to use the service for dismissal

* updates playwright setup to add all wizard ids as dismissed in localStorage

* removes wizard dismissal step from existing playwright tests

* fixes issues accessing owner in beforeEach hooks of namespaces acceptance tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-03-20 15:51:44 -04:00

14 lines
300 B
TypeScript

/**
* Copyright IBM Corp. 2016, 2025
* SPDX-License-Identifier: BUSL-1.1
*/
export const DISMISSED_WIZARD_KEY = 'dismissed-wizards';
export const WIZARD_ID_MAP = {
aclPolicy: 'acl-policy',
authMethods: 'auth-methods',
secretEngines: 'secret-engines',
namespace: 'namespace',
} as const;