v2.0.7
Known issue with terraform-provider-synthetics
Versions of terraform-provider-synthetics
newer than 2.0.7
may cause the following issues in synthetic tests:
- Inconsistent test behavior:
- The configuration parameter wait_for_nav_timeout may incorrectly default to 50ms, causing some navigation steps to not wait long enough and therefore create inconsistent test results.
- Immediate test failure:
- The configuration parameter max_wait_time may incorrectly default to 0ms, causing assertion steps to fail immediately because they do not wait for elements to appear.
Workarounds
Don’t upgrade terraform-provider-synthetics
past version 2.0.7
until further notice.
Explicitly set your Terraform configuration parameters wait_for_nav_timeout
and max_wait_time
instead of relying on default values. Sample configuration:
resource "synthetics_test" "example" {
type = "enter_value"
wait_for_nav = true
wait_for_nav_timeout = 2000 # Example value, adjust as needed
max_wait_time = 10000 # Example value, adjust as needed
// Other configuration parameters...
}
- Adds wait_for_nav_timeout and max_wait_time to browser steps
What's Changed
- Fix downtime config docs by @greatestusername in #54
- Adds wait_for_nav_timeout and max_wait_time to browser steps by @sangn-splunk in #55
- add createdBy and updatedBy to /tests responses by @bchhay-splunk in #56
New Contributors
- @sangn-splunk made their first contribution in #55
Full Changelog: v2.0.6...v2.0.7