Commit graph

31 commits

Author SHA1 Message Date
Vault Automation
af595e88a9
[UI] Billing overview bugs (#14562) (#14586)
* VAULT-44732 redirect to dashboard if user manually goes to billing route and does not have permissions

* Fix playwright tests

* VAULT-44730 update plugin label to custom plugins

* Add acceptance test for redirect

* Update labels

* Add tests

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-06 22:47:46 +00:00
Vault Automation
6a5b643590
[UI] Update billing request to filter by current month and previous month (#14563) (#14582)
* Update so it returns the current month and previous month data

* Add playwright tests and ensure timezone is UTC

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-06 21:58:40 +00:00
Vault Automation
57d27929a1
[UI] VAULT-42756 - Secret sync WIF playwright tests (#14002) (#14192)
* VAULT-42427 - initial code updates for aws form

* VAULT-42756 - implemented wif support for secret sync

* VAULT-42756 - added acceptance and integration test cases for WIF support

* refactor: streamline WIF credential handling and enhance destination details management

* added changelog

* fixed review comments

* updated changelog

* fixed failing tests

* VAULT-42756 - add Playwright tests for sync destination WIF workflows

* fixed copilot review comments

* fixed review comments

* fixed validation for Edit scenario

* fixed region field to have no default value selected

* Refactor: updated string literals with centralized enums and some other refactors

* fixed review comments to remove redundant click actions

* refactor sync destination form handling to separate function in tests

* add mock responses for sync destinations in tests

* added copyright header to mock file

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-04-22 19:00:09 +00:00
Vault Automation
1cce49692f
[UI] Playwright Client Counts Workflows (#13994) (#14016)
* moves namespace service constants to separate file

* initial file for playwright client counts test

* adds playwright tests for client counts workflows

* updates api service post request middleware to read json data more reliably

* fixes acl policy intro page not displaying

* adds teardown to mfa playwright test

* adds steps and teardown to userpass playwright test

* fixes transform playwright test

* updates api service tests

* fixes policies page tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-04-22 09:05:45 -06:00
Vault Automation
73cd16d4ad
[UI][VAULT-43668] Add billing metrics dashboard playwright tests (#14135) (#14142)
* Add billing metrics dashboard playwright tests

* Move response out of playwright test

* Mock response

* Add copywright headers

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-04-21 17:59:22 +00:00
Vault Automation
f913868b71
feat(tests): playwright test suite for custom messages feature (#14038) (#14041)
Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
2026-04-16 22:26:04 +00:00
Vault Automation
c92b6160a8
[UI][VAULT-42692]Add entities and groups playwright tests (#13424) (#13447)
* Add entities and groups playwright tests

* Fixes some failing playwright tests

* Add comment

* Create policy in test and use that instead

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-31 16:43:22 -07:00
Vault Automation
7bfe23085a
add playwright test coverage for MFA login enforcement (#13060) (#13078)
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-31 16:18:44 -07:00
Vault Automation
b301682d0a
[UI] VAULT-43361 leases playwright (#13290) (#13468)
* Add leases tests!

* Remove steps

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-26 21:01:09 -07:00
Vault Automation
673def4f59
[UI][VAULT-42957] Namespace wizard playwright tests (#13289) (#13324)
* wip namespace wizard test

* Namespaces wizard first step

* Add more namespace step 2 tests

* Modified namespace wizard tests!

* Remove namespace wizard tests

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-26 12:50:34 -07:00
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
Vault Automation
1ba0b23852
UI: Add playwright test for intro pages (#13057) (#13124)
* playwright test for intro pages

* updates

* updates and namespace intro

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-03-18 12:47:51 -04:00
Vault Automation
8b04b3b86d
UI: add playwright test for OIDC provider binary testing (#13052) (#13077)
* add playwright test for OIDC provider binary testing

* spacing

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-17 09:37:12 -05:00
Vault Automation
39f0a7c54c
adding test for cli console (#13016) (#13042)
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-03-16 16:56:57 -04:00
Kianna
f118b381ef
[UI][VAULT-42963] plugin management (#12973) (#13044)
* plugin management tests!

* Add general settings test

* Add configuration settings page

* Update configuration page tests..

* Use configuration page for pki tests

* Fix double comment

* Add configuration page tests

* Update keymgmt and pki tune tests

* Update secret engines to use the step helper

* Add transform configuration workflow test
2026-03-16 11:24:45 -07:00
Vault Automation
523654c7c8
[UI] Update kmip and keymgmt tests to use enableEngine() helper (#12971) (#12984)
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-03-16 10:21:03 -07:00
Vault Automation
248b9c5a50
[UI] Kubernetes Secrets Engine Playwright Test (#12972) (#12982)
* adds playwright test for kubernetes secrets engine

* updates kubernetes create and edit page tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-16 09:54:03 -07:00
Vault Automation
98fe959bc2
[VAULT-42685] UI: add playwright coverage for transform binary tests (#12970) (#12983)
* [VAULT-42685] UI: add playwright coverage for transform binary tests

* use enableEngine() helper from base page

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-03-13 14:50:07 -07:00
Vault Automation
18f96d6aa6
Add enable engine method to base (#12946) (#12969)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-12 21:52:39 -07:00
Vault Automation
6208c6a416
UI: add playwright test coverage for policies (#12860) (#12947)
* add playwright test coverage for policies

* add playwright test coverage for policy generator in kv v2

* only show intro button for acl policies

* separate ent tests

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-12 17:20:40 -05:00
Vault Automation
7f893c6ea3
[VAULT-42686] UI: add playwright coverage for keymgmt binary tests (#12906) (#12950)
* [VAULT-42686] UI: add playwright coverage for keymgmt binary tests

* use test.step instead of comments

* cleanup

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-03-12 18:16:30 +00:00
Vault Automation
cd2c9b0304
[VAULT-42684] UI: add playwright coverage for kmip binary tests (#12945) (#12949)
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-03-12 18:10:28 +00:00
Vault Automation
0278b1f9c4
hide revoke button for certificates that have already been revoked (#12743) (#12766)
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-05 20:22:39 +00:00
Vault Automation
46e6a418a8
UI: adding playwright test for Transit secrets engine (#12730) (#12757)
* adding test for transit

* specify path

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-03-05 18:05:47 +00:00
Vault Automation
a0b32a5b97
add playwright test for PKI engine (#12591) (#12710)
* add playwright test for PKI engine

* remove disable flow, test download and revoke actions, test overview cards

* same intro skip condition

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-04 17:43:06 +00:00
Vault Automation
b7ee1a6e79
UI: Adding playwright test for Secrets engines filtering (#12677) (#12691)
* test run

* adding test for secrets engines filtering

* fix

* fix assert

* updating filter to use regex

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-03-03 22:13:02 +00:00
Vault Automation
d1de170cb6
UI: Adding playwright test for Namespaces & updates (#12577) (#12611)
* adding namespace test, removing excess policy and updating other tests for cleanup

* test updates

* code quality bot calling me out

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-02-27 21:17:41 +00:00
Vault Automation
57e47f4546
adding sealing test & seal permissions (#12566) (#12569)
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-02-26 15:38:05 -05:00
Vault Automation
e1e533bfb5
UI: Add playwright test for Userpass Auth Method (#12470) (#12517)
* adding workflow test for userpass auth method

* adding conditionals for intro pages, fix assertion

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-02-24 23:21:44 +00:00
Vault Automation
74237d6daa
[UI] Playwright Test - Tools Workflows (#12430) (#12440)
* adds clipboard permissions for playwright tests

* fixes access control link in playwright init setup

* adds base page class with method for dismissing flash notifications

* fixes nav links in playwright kv test and adds base page for dismissing flash messages

* adds playwright test for tools workflows

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-19 17:17:31 +00:00
Vault Automation
763be2684d
[UI] Playwright Automated Binary Testing (#12214) (#12386)
* adds playwright

* adds playwright auth setup and kv tests

* removes generated gh action for playwright

* removes testem ignore paths

* consolidates kv e2e workflows into single test

* adds missing ids to key shares and threshold inputs

* updates ariaLabel arg to attribute in enabled and disabled plugin card components

* adds script to start vault with config for playwright tests

* updates playwright setup to initialize and unseal vault and create user for testing rather than using root token

* adds policies for e2e tests

* updates e2e init setup to use web repl for creating token

* moves kv e2e test under superuser directory

* updates playwright config to create projects for multiple user types

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-17 17:09:03 +00:00