Barrett Clark
7aeaec9b48
Update tests for new prompts
...
* Remove double question to migrate
* Remove parallelism (it has been flaky)
* Add subtests to apply_auto_approve_test (it was overlooked before)
2021-11-17 14:20:44 -08:00
Martin Atkins
c28b57b4d6
cloud/e2e: Additional context for failing to find expected output
...
This just gives a little extra information to work with when trying to
understand why a test failed. It doesn't change what any of the tests are
actually trying to test.
2021-11-17 14:20:44 -08:00
Omar Ismail
9b675f8b70
Add skip for cloud e2e tests when env vars missing
2021-11-15 10:36:19 -05:00
Omar Ismail
57a4b51e87
remove build tags for cloud e2e
2021-11-11 16:33:26 -05:00
Barrett Clark
5ef82ddd2f
Cloud: fix e2e tests
...
- Fix tests and remove commented code
- Remove parallel for some flaky tests
- Add README
2021-11-11 14:37:21 -05:00
Barrett Clark
9c13521d76
Allow cloud tests to be run in parallel
...
Add the `-parallel N` switch to tell the tests to run in N processes:
```
TFE_TOKEN=$TFE_TOKEN TFE_HOSTNAME=$TFE_HOSTNAME TF_ACC=1 go test -v \
-tags=e2e ./internal/cloud/e2e/... -parallel 4
```
2021-11-01 13:58:29 -05:00
Chris Arcand
f881c2d794
cloud: Skip E2E tests without an exact version
2021-10-28 19:29:20 -05:00
Omar Ismail
86f93a2cbc
Cloud UX test fixes
2021-10-28 19:29:15 -05:00
Omar Ismail
dfb4609be2
Backend State Migration from cloud to cloud.
...
* Add test for tfc to tfc mgiration
* Fix old tests, and remove unused code.
2021-10-28 19:29:15 -05:00
Omar Ismail
dc76bbee73
Backend State Migration: Add remote backend test
2021-10-28 19:29:14 -05:00
Omar Ismail
3fedd6898c
Backend State Migration to `cloud`: Multiple Workspaces
...
* Handle when there are multiple workspaces migrating to cloud,
using both the cloud name strategy and cloud tags strategy.
* Add e2e tests
2021-10-28 19:29:13 -05:00
Brandon Croft
bf02b5cb53
e2e test for cloud run variables
2021-10-28 19:29:12 -05:00
Omar Ismail
55fc590904
Teraform Cloud Backend State Migration
...
* determining source or destination to cloud
* handling single to single state migrations to cloud,
using a name strategy or a tags strategy
* Add end-to-end tests for state migration.
2021-10-28 19:29:12 -05:00
Omar Ismail
a387af6c61
Add auto-approve logic, e2e tests
2021-10-28 19:29:11 -05:00