Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datadog synethic monitoring brower test fails to test the attibute #2620

Open
surajtikoo opened this issue Oct 16, 2024 · 0 comments
Open

Datadog synethic monitoring brower test fails to test the attibute #2620

surajtikoo opened this issue Oct 16, 2024 · 0 comments
Labels

Comments

@surajtikoo
Copy link

Datadog Terraform Provider Version

v3.46.0

Terraform Version

1.5.7

What resources or data sources are affected?

browser_step {
type = "typeText"
name = "Input something in the password field"

params {
 element=  "*[@id='user[email]']"
 element_user_locator {
  fail_test_on_cannot_locate = "true"
    value {
      type  = "css"
      value = "#user[email]"
    }
  }
 value = "XXXXXXX"
}

}

Terraform Configuration Files

browser_step {
type = "typeText"
name = "Input something in the password field"

params {
 element=  "*[@id='user[email]']"
 element_user_locator {
  fail_test_on_cannot_locate = "true"
    value {
      type  = "css"
      value = "#user[email]"
    }
  }
 value = "XXXXXXX"
}

}

Relevant debug or panic output

I am trying to create my synethic brower test via the terraform. The terraform is able to create but while running the test case it is failing becasue of the below error
Error: Missing locator. Either a UserLocator or a MultiLocator need to be provided. Couldn't find much in the documentation how to use the element attibute.

Expected Behavior

Target element should set a value. Something like that.
Image

Actual Behavior

Image

Steps to Reproduce

No response

Important Factoids

No response

References

No response

@surajtikoo surajtikoo added the bug label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant