Commit Graph
25 Commits
Author SHA1 Message Date
Michael Li 6bd168b2a3 test(e2e): Add test that creates a user with the right permissions to start a session 2022-10-25 16:23:52 -04:00
Michael Li 07b16e877c refact(e2e): Rename original session cancelling test 2022-10-25 16:23:52 -04:00
Michael Li 5d795e6104 refact(e2e): Add support for authenticating as any user 2022-10-25 16:23:52 -04:00
Michael Li 5b0ff4f058 test(e2e): Port "credential stores deletion check" from bats test to e2e test suite
The "can not read deleted $NEW_STORE static store" bats test was demonstrating flaky behavior where it would fail due to the credential store read still returning something valid. This check has been moved to an e2e test in order to add some retry logic to the check.
2022-10-20 13:47:46 -04:00
Michael Li 79bc3d4878 refact(e2e): Create credential store function 2022-10-20 13:47:46 -04:00
Michael Li ab223493a3 fix(e2e): Remove unused code 2022-10-20 10:52:11 -04:00
Michael Li 56ed25a88c test(e2e): Rename file for clarity 2022-10-20 10:47:07 -04:00
Michael Li a4e27d877d refact(e2e): Update RunCommand to have context argument 2022-10-19 10:46:57 -04:00
Michael Li 84aa65ccc5 test(e2e): Add test that cancels a session 2022-10-19 10:46:57 -04:00
Michael Li cb3f057878 test(e2e): Add test that uses connect authz-token option 2022-10-19 10:46:57 -04:00
Michael Li ff960e1fb1 refact(e2e): Rename files for consistency 2022-10-19 10:46:57 -04:00
Michael Li 618eca19f5 refact(e2e): Create functions for commonly used operations
Many tests had duplicate code to create the base level domain objects in a boundary environment. This commit refactors that code to use functions for these commonly used operations.
2022-10-19 10:46:57 -04:00
Michael Li 051d337b21 refact(e2e): Move logging to helper function 2022-10-19 10:46:57 -04:00
Michael Li 1f87da9fd4 fix(e2e): Fix comment typo 2022-10-19 10:46:57 -04:00
Michael Li 01301cd32a fix(e2e): Add missing requires 2022-10-19 10:46:57 -04:00
Michael Li d8448d2184 doc(e2e): Fix typo 2022-10-12 09:49:08 -04:00
Michael Li f9dfd024ed doc(e2e): Add info for adding tests 2022-10-12 09:49:08 -04:00
Michael Li 719200612d refact(e2e): Remove use of AwsHostSetCount env
Instead of passing in the number of hosts created for a host set, we can just use the length of the IP addresses to determine that value.
2022-10-12 09:49:08 -04:00
Michael Li 5365b29007 refact(e2e): Port enos smoke test into e2e test suite
This adds a test case to the e2e test suite and unifies where testing is located.
2022-10-12 09:49:08 -04:00
Michael Li 1361c3cc6d refact(e2e): Move environment variables into its own file 2022-10-12 09:49:08 -04:00
Michael Li 86dafced1a fix(e2e): Add missing require 2022-10-12 09:49:08 -04:00
Michael Li 0afef63dca refact(e2e): Use envconfig's required property 2022-10-05 11:54:16 -04:00
Michael LiandJosh Brand da0fb9d38a test(e2e): Add dynamic host catalog test (AWS)
This adds the initial set of tests that validate setting up a dynamic host catalog on AWS

Co-authored-by: Josh Brand <jbrand@hashicorp.com>
2022-10-05 11:54:16 -04:00
Michael Li 8fe0d13caa test(e2e): Add vault tests
Adds the first set of vault tests. This test sets up vault as a credential store and creates a set
of credentials for a target.
2022-09-27 12:21:10 -04:00
Michael Li 21e4b70e27 test(e2e): Add end-to-end tests (connect to first target)
This adds the initial end-to-end tests. These tests validate the admin workflow
of setting up their first target
2022-09-16 15:30:12 -04:00